package com.yiban.demo.Access.Service;

import com.yiban.demo.Access.Entity.Access;
import com.yiban.demo.Access.Entity.RestfulUri;

import java.util.HashSet;
import java.util.List;
import java.util.Map;

public interface AccessService {

    Map<String, HashSet<RestfulUri>> getAllAccess();
    void refresh();
    int deleteAccesses(List<Integer> id);
    int addAccesses(List<Access> list);
    boolean updateAccessById(Access access);
    List<String> getAllRole();
    String patternPath(String requestUri);

}
